package pattern.creational.abstractFactory;

/**
 * @Author Gavin
 * @date 2020.07.14 16:03
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
